package com.ruoyi.warehouse.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;

/**
 * 仓库中心=>鱼缸对象 ware_house_tank
 * 
 * @author 杨彬鑫
 * @date 2021-01-29
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("ware_house_tank")
public class WareHouseTank implements Serializable {

private static final long serialVersionUID=1L;


    /** 鱼缸code */
    @TableId(type = IdType.ASSIGN_UUID)
    private String tankCode;

    /** 鱼缸名称 */
    @Excel(name = "鱼缸名称")
    private String tankName;

    /** 鱼缸类型 */
    @Excel(name = "鱼缸类型")
    private Long tankType;

    /** 鱼缸尺寸 */
    @Excel(name = "鱼缸尺寸")
    private String tankSize;

    /** 鱼缸数量 */
    @Excel(name = "鱼缸数量")
    private Long tankCount;

    /** 买入日期 */
    @Excel(name = "买入日期" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date tankBuyDate;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    private Date updateTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

    @TableField(exist = false)
    @Excel(isExport = false)
    private String[] tankBuyDates;
}
